﻿<%@ Control Language="C#" Inherits="Web.Control.WWW.Wiki.WikiList" %>
<asp:Literal ID="lTages" Text="20" runat="server" Visible="false"/>
<asp:Literal ID="lLCount" Text="20" runat="server" Visible="false"/>
<asp:Literal ID="lDOrder" Text="[sl]" runat="server" Visible="false"/>
<asp:Literal ID="lDLearn" Text="english" runat="server" Visible="false"/>
<asp:Literal ID="lDBaseL" Text="chinese" runat="server" Visible="false"/>
<div class="common">
	<div id="new_body">
		<div id="body_900">
			<div id="body_left"></div>
			<div id="body_main">
				<div class="submenuN">
					<div class="submenuN_position">
						<div class="submenuN_title">
							<div class="submenuN_Btitle">
								<h1><a href="/knowledge/learn-<%=Learn%>-<%=BaseL%>.htm"><%=GetText("C0105",new string[]{GetLanguageText(Learn)})%>, <%=GetText("C2019",new string[]{GetLanguageText(BaseL)})%></a</h1>
							</div>
							<div class="submenuN_button"><%if (((Lx.Web.Common.UI.TDTPageBase)Page).IsAffirm){%><a href="/knowledge/edit.htm" class="Naddbtn btnspec" style="text-decoration:none"><%}else{ %><a href="#" onclick="NotAffirm()" class="Naddbtn btnspec" style="text-decoration:none"><%} %><span><%=GetText("WK004")%></span></a></div>
						</div>
					</div>
				</div>
				<div class="Center9001n">
					<div class="Center9001Right">
						<div class="Center9001Content">
							<div class="knowedge_area">
								<div class="">
									<div class="floatl"><a href="/knowledge/wikilist-<%=Learn%>-<%=BaseL%>-1-[sl].htm" class="wikibtn2" style="width: 180px; text-decoration:none" title="<%=GetText("WK137",new string[]{GetLanguageText(Learn),GetLanguageText(BaseL)})%>"><span><div style="font-size: 24px; font-weight: bold"><%=GetText("WK053")%></div><div><%=GetText("WK052")%></div></span></a></div>
									<div class="floatl" style="margin-left: 10px"><a href="/knowledge/contributionlist-<%=Learn%>-<%=BaseL%>-1-[sl].htm" class="wikibtng" style="width: 180px; text-decoration:none" title="<%=GetText("WK138",new string[]{GetLanguageText(Learn),GetLanguageText(BaseL)})%>"><span><div style="font-size: 24px; font-weight: bold"><%=GetText("WK054")%></div><div><%=GetText("WK055")%></div></span></a></div>
									<div class="clear"></div>
								</div>
								<div class="margin5" style="text-align: right">
								<%=RecordCount%>
								<%=GetText("WK017")%>:
								<%if(Order.ToLower()=="[datetime]") {%>
								<strong><%=GetText("C2002")%></strong>
								<%}else{ %>
								<a href="/knowledge/wikilist-<%=Learn%>-<%=BaseL%>-1-[datetime].htm"><%=GetText("C2002")%></a>
								<%} %>
								 | 
								<%if(Order.ToLower()=="[sl]") {%>
								<strong><%=GetText("C2011")%></strong>
								<%}else{ %>
								<a href="/knowledge/wikilist-<%=Learn%>-<%=BaseL%>-1-[sl].htm"><%=GetText("C2011")%></a>
								<%} %>
								</div>
								<div>
									<table width="100%" border="0" cellspacing="0" cellpadding="0" style="background-color: #eee">
										<tr>
											<td style="padding: 5px 0px 5px 5px"><strong><%=GetText("WK050",new string[]{GetLanguageText(Learn)})%> <%=GetText("C2019",new string[]{GetLanguageText(BaseL)})%></strong></td>
											<td style="padding: 5px 0px 5px 0px" width="100" align="center"><strong><%=GetText("WK019")%></strong></td>
										</tr>
									</table>
									<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<asp:Repeater ID="rptLB" runat="server">
									<ItemTemplate>
										<tr>
											<td style="border-bottom: 1px #eee solid; padding: 5px 0px 5px 5px"><span class="text14"><a href='/knowledge/wiki-<%#HttpUtility.UrlEncode(Eval("Name").ToString())%>.htm'><%#Lx.Web.Common.UI.Globals.GetString(Eval("Title").ToString(),80)%></a></span> <span class="grey10"><%#FormatDiffDate(GetText("C0036"), Eval("DiffDate").ToString())%></span></td>
											<td style="border-bottom: 1px #eee solid; padding: 5px 0px 5px 0px" width="100" align="center"><%#Eval("Views") %></td>
										</tr>
									</ItemTemplate>
									</asp:Repeater>
									<%if (rptLB.Items.Count == 0)
									{%>
										<tr>
											<td><%=GetText("WK005")%></td>
										</tr>
									<%} %>
									</table>
								</div>
								<div class="page_num">
									<%=CreatePageNav(RecordCount, int.Parse(lLCount.Text), PageIndex, 
									string.Format("<span class='page_none grey10'><a href='/knowledge/wikilist-{0}-{1}-$I$-{2}.htm'>{3}</a></span>&nbsp;",Learn,BaseL,Order,HttpUtility.UrlEncode(GetText("..."))),
									"",string.Format("<span class='page_none grey10'><a href='/knowledge/wikilist-{0}-{1}-$I$-{2}.htm'>{3}</a></span>&nbsp;",Learn,BaseL,Order,HttpUtility.UrlEncode(GetText("..."))),
									"",string.Format("<span class='page_select'>{0}</span>&nbsp;",PageIndex),
									string.Format("<span class='page_none grey10'><a href='/knowledge/wikilist-{0}-{1}-$I$-{2}.htm'>$I$</a></span>&nbsp;",Learn,BaseL,Order))%>
								</div>
							</div>
						</div>
					</div>
					<div class="Center9001Left">
						<div class="right_layerA">
							<div class="layer_contentA">
								<h4><%=GetText("C2001")%></h4>
								<div class="layer_contentA5">
									<ul class="tag_common_right">
									<asp:Repeater ID="rptTags" runat="server">
									<ItemTemplate>
										<li><a href='/knowledge/<%#HttpUtility.UrlEncode(Eval("Name","selecttags-1-"+Learn+"-"+BaseL+"-{0}.htm"))%>'><%#Eval("Name")%></a><!--(<%#Eval("UsedCount")%>)--></li>
									</ItemTemplate>
									</asp:Repeater>
									<%if (rptTags.Items.Count == 0)
									{%>
										<li><%=GetText("WK005")%></li>
									<%} %>
									</ul>
									<div class="clear"></div>
									<%if (rptTags.Items.Count > int.Parse(lTages.Text)){%>
									<p align="right"><a href="/knowledgetags-1-<%=Learn%>-<%=BaseL%>.htm"><%=GetText("C0040")%></a></p>
									<%} %>
								</div>
							</div>
						</div>
						<div class="right_layerA">
							<div class="layer_contentA"><img src="/Images/icon_tips.gif" align="absmiddle" /> <strong><a href="/knowledge/wiki-How+to+edit+the+italki+wiki1.htm">How do I edit italki wiki?</a></strong>
							</div>
						</div>
					</div>
					<div class="clear"></div>
					<div class="margin10" style="text-align:center">
					<script type="text/javascript">
					  GA_googleFillSlot("all_pages_bottom728x90");
					</script>
					</div>
				</div>
			</div>
			<div id="body_right"></div>
			<div class="clear"></div>
		</div>
		<div id="body_900F"></div>
	</div>
</div>